/*
 * @Author: AiLjx
 * @Date: 2022-05-16 22:44:23
 * @LastEditors: AiLjx
 * @LastEditTime: 2022-07-25 22:03:58
 */
//封装本地存储token
const key = "pc-key-token";

const setToken = (token) => {
    return window.localStorage.setItem(key, token);
};

const getToken = () => {
    return window.localStorage.getItem(key);
};

const removeToken = () => {
    return window.localStorage.removeItem(key);
};

export { setToken, getToken, removeToken };
